<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8 "/>
    <?php
    /** @var $this Controller */
    /** @var $app CWebApplication */
    $app = Yii::app();
    /** @var $user WebUser */
    $user = $app->user;
    if (!empty($this->pageDescription)) {
        echo '<meta name="description" content="' . $this->pageDescription . '" />';
    }
    if (!empty($this->pageKeywords)) {
        echo '<meta name="keywords" content="' . $this->pageKeywords . '" />';
    }
    if (!empty($this->pageTitle)) {
        echo '<title>' . $this->pageTitle . '</title>';
    }
    /** @var $cs CClientScript */
    $cs = $app->clientScript;
    //$cs->registerCssFile($app->getBaseUrl() . '/css/all.css');
    //$cs->registerCssFile($app->getBaseUrl() . '/css/ddsmoothmenu.css');
    ?>
    <!--
    <noscript>  <meta http-equiv="refresh" content="0; URL=browser_not_supported.html" /> </noscript>
    -->
    <!--[if lt IE 7]>
    <meta http-equiv="refresh" content="0; URL=browser_not_supported.html" />
    <div style="display: none">
    <![endif]-->
    <!--[if lt IE 8]>
    <?php
    //echo CHtml::cssFile($app->getBaseUrl() . '/css/ie.css', 'screen');
    ?>
    <![endif]-->
    <!--[if IE 8]>
    <?php
    //echo CHtml::cssFile($app->getBaseUrl() . '/css/ie8.css', 'screen');
    ?>
    <![endif]-->
    <!--[if IE 6]>
    <?php
    //echo CHtml::scriptFile($app->getBaseUrl() . '/javascript/pngFX.js');
    ?>
    <script type="text/javascript">
        DD_belatedPNG.fix(' img, .logo a, .wrap-timer, .timer ');
    </script>
    <![endif]-->

    <?php
    $cs->registerScriptFile($app->getBaseUrl() . '/javascript/input.js');
    $cs->registerCoreScript('jquery');
    $cs->registerScriptFile($app->getBaseUrl() . '/javascript/main.js');
    ?>

</head>
<body>

<div class="overall">
    <div class="wrap-main-block">

        <?php echo $content; ?>

    </div>
</div>

</body>
</html>
